<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php
	ob_start();
	session_start();
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="imagetoolbar" content="no" />
<link rel="stylesheet" href="styles/layout.css" type="text/css" />
<!--<script type="text/javascript" src="scripts/jquery-1.4.1.min.js"></script>-->
<script type="text/javascript" src="js template/jquery-1.11.0.js"></script>
<script type="text/javascript" src="scripts/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="scripts/jquery.timers.1.2.js"></script>
<script type="text/javascript" src="scripts/jquery.galleryview.2.1.1.min.js"></script>
<script type="text/javascript" src="scripts/jquery.galleryview.setup.js"></script>
<link rel="stylesheet" href="styles/custom.css" type="text/css" />

<link rel="stylesheet" type="text/css" href="style sources/ThemHoatDong.css" />
<script src="script sources/ThemHoatDong.js"></script>
<script src="textarea plugin/ckeditor.js"></script>
<title>Untitled Document</title>
</head>
<body id="top">
	<?php include("header.html");?>
	<div>
	<form  action="php sources/ThemHoatDong.php" method="post">
    	<fieldset>
            <legend>Thêm hoạt động</legend>
            
            	<table class="bangTHD">
              <tr>
                	<td id="firstcol">Tên hoạt động</td>
                    <td><input type="text" id="tenHD" name="tenHD" required  pattern="[A-Za-z1-9 ]{10,150}" onchange="checkTenHD(this)"/></td> <!-- required k duoc bo trong-->
                </tr>
                <tr>
                	<td id="firstcol">Ngày diễn ra </td>
                    <td><input type="date" id="ngayHD" name="ngayHD" required/></td>
                  </tr>
                <tr>
                	<td id="firstcol">Kinh phí</td>
                    <td><input type="text" id="kinhphi" name="kinhphi" required pattern="[1-9]{1,20}" onchange="checkKP(this)"  /></td>
                 </tr>
                <tr>
                	<td valign="top" id="firstcol">Nôi dung hoạt động</td>
                	<td><textarea class="ckeditor" id="noidungHD" name="noidungHD" rows="20" cols="200"></textarea></td>
                </tr>
               	<tr>
                	<td colspan="2" align="right" valign="bottom"><input type="submit" value="thêm" /></td>                   
                 </tr>               
				</table>                
        </fieldset>        
    </form> 
	</div>
</body>
</html>
